import request from "@/utils/request.js";
const user = {
	// 获取用户信息
	getUserInfo: () => request.post("/api/user/info"),
	//我的月卡
	getMyMonthCard: (data) => request.post("/api/course/userRechargeCardList",data),
	//我的预约课程
	userCourseOrderList: (data) => request.post("/api/course/userCourseOrderList",data),
	//课程预约情况
	coursePreInfo: (data) => request.post("/api/user/coursePre",data),
	//我的优惠券
	getMyCoupon: (data) => request.post("/api/user/getCouponLog",data),
	//我的积分明细
	getScoreLog: (data) => request.post("/api/user/getScoreLog",data),
	//老师预约课程列表
	getMyTeacher: (data) => request.post("/api/user/myTeacher",data),
	//课程兑换记录
	courseOrderList: (data) => request.post("/api/course/courseOrderList",data),
	//商品兑换记录
	goodsOrderList: (data) => request.post("/api/goods/goodsOrderList",data),
	//课程兑换退回
	courseOrderRefund: (data) => request.post("/api/course/orderRefund",data),
	//商品兑换退回
	goodsOrderRefund: (data) => request.post("/api/goods/orderRefund",data),
	//课程兑换详情
	courseOrderDetail: (data) => request.post("/api/course/courseOrderEdit",data),
	//商品兑换详情
	goodsOrderDetail: (data) => request.post("/api/goods/goodsUserOrderEdit",data),
	//课程预约记录
	courseReservationRecord: (data) => request.post("/api/course/userCoursePre",data),
	
}
export default user;